﻿using Base.Infrastructure.Dto.Request.Classes;
using Base.Infrastructure.Dto.Response;
using Base.Infrastructure.Tools.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Base.Service.Interface
{
    [Provider]
    public interface IClassesService
    {
        /// <summary>
        /// 查询班级
        /// </summary>
        /// <returns></returns>
        ApiResult Queryclass(int page, int limit, string key);

        /// <summary>
        /// 单个查询班级表
        /// </summary>
        /// <returns></returns>
        ApiResult Singlequeryclass(string CID);

        /// <summary>
        /// 添加班级
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        ApiResult Addclass(CLassesRequestDto dto);

        /// <summary>
        /// 修改班级
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        ApiResult Modifyclass(CLassesRequestDto dto);

    }
}
